﻿CREATE PROCEDURE [dbo].[RunUpdate]
(@RunID UniqueIdentifier,
@WorkflowID UniqueIdentifier,
@SubmitTime datetime,
@ReceiveTime datetime,
@StartTime datetime,
@FinishTime datetime,
@Vars varchar(max))
AS begin 
	update Run set 
		WorkflowID=@WorkflowID,
		SubmitTime=@SubmitTime,
		ReceiveTime=@ReceiveTime,
		StartTime=@StartTime,
		FinishTime=@FinishTime,
		Vars=@Vars
	where
		RunID=@RunID;
end